import request from '@/utils/request'
import qs from "qs"

//文章上传
export function postArticle(data){
    return request({
        url:'/articleInf',
        method: 'post',
        data:qs.stringify(data),
    })
}

//文章内容获取
export function getArticleContent(data){
    return request({
        url:'/getArticleCon',
        headers: {
            isToken: false
        },
        method: 'post',
        data:qs.stringify(data),
    })
}

//文章信息获取
export function getInfArticle(id){
    return request({
        url:'/getInfData',
        headers: {
            isToken: false
        },
        method:'post',
        data:qs.stringify(id)
    })
}
